
package com.weng.adapter;

public final class App {

  private App() {
  }

  public static void main(final String[] args) {
    // 船长只能操作划艇，但有了转接器，他也能使用渔船
    Captain captain = new Captain(new FishingBoatAdapter());
    captain.row();
  }
}
